package com.api.tournament.dao;

import com.api.core.ApiMapper;
import com.api.tournament.model.Round;
import com.api.tournament.vo.RoundVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoundMapper extends ApiMapper<Round> {
    void deleteByTournamentId(Long tournamentId);

    List<Round> selectByStageId(Long stageId);

    List<RoundVo> selectVoByStageId(Long stageId,Integer roundType);

    void deleteByByStageId(Long stageId);
}